home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 2_13.lha / 2_13 / 2_13b2.c < prev    next >
Text File  |  1993-08-08  |  344b  |  16 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. / print the names and days of the months
  6. / version 2
  7. include <stream.h>
  8.  
  9. nt main(int, char**)
  10.  
  11.    for (int i = 0; i < 12; i++)
  12.        cout << md[i].month << " " <<
  13.     md[i].day << "\n";
  14.    return 0;
  15.  
  16.